.section {
  height: 100vh;
  scroll-snap-align: start;
  margin: 0;
  padding: 0;
}
body {
  text-align: center;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
}


#navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 50%;
  font-family: "Roboto", sans-serif;
  gap: 32px;
  z-index: 5;
}

.navknapper {
  float: none;
  display: inline-block;
  font-size: 14px;
  color: #1e293b;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 6px;
}

.navknapper:hover {
  color: #57a3f5;
  transform: translateY(-2px);
}

#kontaktknapp {
  background-color: #57a3f5;
  color: white;
  position: absolute;
  right: 20px;
  top: 25px;
  font-size: 14px;
  text-align: center;
  padding: 0px 16px;
  border: 2px solid #57a3f5;
  border-radius: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  transform: scale(1);
  cursor: pointer;
}

#kontaktknapp:hover {
  cursor: pointer;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.contact-form input,
#message {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 10px;
  display: block;
  box-sizing: border-box;
  font-size: 14px;
  height: 40px; 
}

#name,
#phone-number,
#inputMail {
  width: 400px; 
}

#message {
  width: 400px; 
  height: 120px;
  font-family: "Roboto", sans-serif;
  resize: none;
}

.contact-form button {
  background-color: white;
  font-weight: 700;
  color: black;
  padding: 10px 20px;
  border: 2px solid #57a3f5;
  border-radius: 3px;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 400px;
  transition: background-color 0.5s, color 0.5s, transform 0.4s ease-in-out;
}

.contact-form button[type="submit"]:hover {
  background-color: #57a3f5;
  color: white;
}


ion-icon {
  font-size: 23px;
  position: absolute;
  margin-left: 170px;
  margin-top: -41px;
  opacity: 0.5;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#alert {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 10px 20px;
  background: #79c879;
  color: #fff;
  margin-top: -43px;
  display: none;
  width: 360px;
  border-radius: 3px;
  z-index: 1;
  height: 24px;
}

.contact-form {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 50%;
  transform: translateX(-50%);
}

.container {
  max-width: 800px;
  padding: 50px;
  border-radius: 3px;
  position: absolute;
  left: 60px;
  margin-top: -50px;
}

#tider {
  padding-bottom: 10px;
}

#title {
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  font-size: 35px;
  margin-top: 120px;
  margin-bottom: -5px;
}

#skrift {
  font-size: 17px;
}
